package com.example.module_detail.state

import com.bawei.common.entity.CommendEntity
import com.example.module_detail.entity.AuthorEntity
import com.example.common.state.BaseUiState

sealed class DetailUiState:BaseUiState(){

    object LoadEmpty:DetailUiState()

    data class LoadAuthorInfoSuccess(val entity: AuthorEntity):DetailUiState()

    data class LoadAuthorInfoFail(val msg:String):DetailUiState()

    data class LoadMovieCommendSuccess(val list:List<CommendEntity>):DetailUiState()

    data class LoadMovieCommendFail(val msg:String):DetailUiState()

}